import {get, outPost, post, put, remove} from "../http.js";
// 用户相关的接口
export function getAllDictionaries(page,limit){
    return get(`/dictionaries/getAllDictionaries/${page}/${limit}`)
}
export function addDictionaries(form){
    return put("/dictionaries/addDictionaries",form)
}
export function editDictionaries(form){
    return post("/dictionaries/editDictionaries",form)
}
export function removeDictionaries(dictionariesNo){
    return remove(`/dictionaries/removeDictionaries/${dictionariesNo}`)
}
export function batchRemoveDictionaries(id){
    return remove("/dictionaries/batchRemoveDictionaries/"+id)
}
export function searchDictionaries(search){
    return post("/dictionaries/searchDictionaries",search)
}
export function batchAddDictionaries(dictionariess){
    return post("/dictionaries/batchAddDictionaries",dictionariess)
}
export function batchOutDictionaries(dictionariess){
    return outPost("/dictionaries/batchOutDictionaries",dictionariess)
}
